﻿<?php
	require ('fonctions.php5');
	$user=1;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
  <head>
    <title></title>
	<script src="ajaxStuff.js" language="javascript"></script>
	<link rel="stylesheet" type="text/css" href="style.css">
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
  
  <body>
  
		
	<div id="top">		
		    Login - Mon compte - <strong>Administration de mes données</strong> - Se déconnecter
	</div>
  
    <div id="global">

	
	<div id="logo">
		<img src="papier.gif"/>
	</div>
	<div id="titres">
		<h1>
			Biblio & go !
		</h1>
		Biblio & go est une application web permettant de gérer votre bibliographie de a à z.
	</div>
	
	<div id="messageBox">
		
	</div>
	
	<input type="hidden" id="userId" value="<?php echo $user; ?>"/>
	
	<table width="984px;" style="margin-top:80px">
		<thead>
			<td>
				<h3><span class="attirance">1 </span>Domaine d'un document</h3>
			</td>
			<td>
				<h3><span class="attirance">2 </span>Type d'un document</h3>
			</td>
			<td>
				<h3><span class="attirance">3 </span>Tags à tagguer!</h3>
			</td>
		</thead>
		
		
		<tr>
			<td valign="top">
				<form type="post" action="javascript:insertDomaine()">
					<input maxlength="50" id="newDomaine"/><br/>
					<input type="submit" value="Créer ce domaine"/><br/><br/>
				</form>
			</td>
			<td valign="top"><input maxlength="50"/><br/>
				<input type="submit" value="Créer ce type"/><br/><br/>
			</td>
			<td valign="top"><input maxlength="15"/><br/>
				<input type="submit" value="Créer ce tag"/><br/><br/>
			</td>
			
		
		</tr>
	
		<tr>
			<td valign="top">
				<?php echo AdminDomaine($user); ?>
				
			</td>
			<td valign="top">
				<?php echo AdminType($user); ?>
			</td>
			<td valign="top">
				<?php echo AdminTag($user); ?>
			</td>
			
		
		</tr>
	
	</table>
  
	</div>
  </body>
 </html>